android strings plural

206

android strings plural -

<plurals name="test0">
  <item quantity="one">Test ok</item>
  <item quantity="other">Tests ok</item>
</plurals>

// Use case
int count=3;
getResources().getQuantityString(R.plurals.test0, count);

Comments

Submit
0 Comments